package cn.pugle.base.thread;

/**
 * @author tzp
 * @since 2020/10/21
 */
public class BaseSyncTest {
    public void ma() {
        synchronized (this) {
            System.out.println("a");
            synchronized (this) {
                System.out.println("b");
            }
        }
    }

    public static void main(String[] args) {
        new BaseSyncTest().ma();
    }
}
